<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>">
<div
	style="width:740px; height:400px; padding-top:200px; text-align:center;">
	<c:if test="${!empty err}">
		<font color="#FF0000">${err}</font>
	</c:if>
	<form action="user/upData" method="post" id="form1" onsubmit="return window.confirm('确认要修改？')">
		<p>
			<label for="textfield">姓名:</label> <input type="text"
				name="user.name" id="textfield" value="${session.loginuser.name}">

		</p>
		<p>
			<label for="textfield2">邮箱:</label> <input type="text"
				name="user.email" id="textfield2" value="${session.loginuser.email}">
		</p>
		<p>
			<label for="textfield3">电话:</label> <input type="text"
				name="user.tel" id="textfield3" value="${session.loginuser.tel}">
		</p>
		<p>
			<a href="javascript:void(0);" class="sui-btn btn-xlarge btn-primary"
				onclick="document.getElementById('form1').submit();">提交</a>
		</p>
	</form>
</div>